/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.DoanhThuBanVe_DAO;
import DTO.DoanhThuKH_DTO;
import DTO.DoanhThuNV_DTO;
import DTO.DoanhThuNgay_DTO;
import java.sql.Date;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class DanhThuBanVe_BUS {
    
    public static ArrayList<DoanhThuKH_DTO> Get_DoanhThuKH() throws SQLException{
        return DoanhThuBanVe_DAO.Get_DoanhThuKH();
    }
    public static ArrayList<DoanhThuKH_DTO> Get_DoanhThuKHChon(Date TuNgay, Date DenNgay) throws SQLException{
        return DoanhThuBanVe_DAO.Get_DoanhThuKHChon(TuNgay, DenNgay);
    }
    
    public static ArrayList<DoanhThuNgay_DTO> Get_DoanhThuNgay() throws SQLException{
        return DoanhThuBanVe_DAO.Get_DoanhThuNgay();
    }
    public static ArrayList<DoanhThuNgay_DTO> Get_DoanhThuNgayChon(Date TuNgay, Date DenNgay) throws SQLException{
        return DoanhThuBanVe_DAO.Get_DoanhThuNgayChon(TuNgay, DenNgay);
    }
    
    public static ArrayList<DoanhThuNV_DTO> Get_DoanhThuNV() throws SQLException{
        return DoanhThuBanVe_DAO.Get_DoanhThuNV();
    }
    public static ArrayList<DoanhThuNV_DTO> Get_DoanhThuNVChon(Date TuNgay, Date DenNgay) throws SQLException{
        return DoanhThuBanVe_DAO.Get_DoanhThuNVChon(TuNgay, DenNgay);
    }
    
}
